package com.millstein.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @description:
 * @author: tsing
 * @create: 2021-09-21 16:06
 */
@Data
@ConfigurationProperties(prefix = "mqconfig")
public class RabbitMQProperties {

    /**
     * 延时队列名称
     */
    private String productReleaseDelayQueue;

    /**
     * 死信队列名称
     */
    private String productReleaseQueue;

    /**
     * 交换机名称
     */
    private String productEventExchange;

    /**
     * 延时队列路由键
     */
    private String productReleaseDelayRoutingKey;

    /**
     * 死信队列路由键
     */
    private String productReleaseRoutingKey;

    /**
     * 超时时间
     */
    private String ttl;
}
